package mason.dp.abstractfactory.factory;

import mason.dp.abstractfactory.Component.Battery;
import mason.dp.abstractfactory.Component.BatteryForWin;
import mason.dp.abstractfactory.Component.CPU;
import mason.dp.abstractfactory.Component.CpuForWin;
import mason.dp.abstractfactory.Component.RAM;
import mason.dp.abstractfactory.Component.RamForWin;

/**
 * Win电脑零件工厂
 *
 * @author MasonAir
 *
 */
public class WinComponentFactory implements ComputerComponentFactory {

	@Override
	public CPU createCpu() {
		return new CpuForWin();
	}

	@Override
	public RAM createRam() {
		return new RamForWin();
	}

	@Override
	public Battery createBattery() {
		return new BatteryForWin();
	}

}
